<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        div {
            float: left;
            width: 200px;
            height: 200px;
            border-width: 1px;
            border-style: solid;
            /* 合并边框 */
            border-collapse: collapse;
            padding-left: 10px;
            padding-top: 10px;
        }
    </style>

<body>
    <div>123</div>
    <div>123</div>
</body>

</html>